// components/ClientMDX.tsx
"use client";
import React from "react";
import { MDXRemote, MDXRemoteSerializeResult } from "next-mdx-remote";
import { MDXComponents } from "./MDXComponents";

export default function ClientMDX({
    source,
}: {
    source: MDXRemoteSerializeResult;
}) {
    return <MDXRemote {...source} components={MDXComponents} />;
}
